org.eclipse.vtp.framework.common.actions
Class ExitAction

java.lang.Object
  extended by org.eclipse.vtp.framework.common.actions.ExitAction
All Implemented Interfaces:
IAction
Direct Known Subclasses:
FinalAction

public class ExitAction
extends java.lang.Object
implements IAction

An action that terminates the current process and returns control to the process that included it.

Author:
Lonnie Pryor

Field Summary
protected  AssignmentConfiguration[] assignments
          The exit configuration.
protected  ExitConfiguration configuration
          The exit configuration.
protected  IActionContext context
          The context that contains this action.
protected  IController controller
          The controller to enqueue with.
 
Constructor Summary
ExitAction(IActionContext context, IController controller, ExitConfiguration configuration, AssignmentConfiguration[] assignments)
          Creates a new ForwardAction.
 
Method Summary
 IActionResult execute()
          Executes this action and returns its outcome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected final IActionContext context
The context that contains this action.


controller

protected final IController controller
The controller to enqueue with.


configuration

protected final ExitConfiguration configuration
The exit configuration.


assignments

protected final AssignmentConfiguration[] assignments
The exit configuration.

Constructor Detail

ExitAction

public ExitAction(IActionContext context,
                  IController controller,
                  ExitConfiguration configuration,
                  AssignmentConfiguration[] assignments)
Creates a new ForwardAction.

Parameters:
context - The context that contains this action.
controller - The controller to enqueue with.
configuration - The configuration for this exit action.
Method Detail

execute

public IActionResult execute()
Description copied from interface: IAction
Executes this action and returns its outcome.

Specified by:
execute in interface IAction
Returns:
An object representing the outcome of this action.